{% extends 'layout.html' %}

{% block content %}
    <table class="table table-bordered">
        <tbody>

        {% for user in users %}
            <tr>
                <td>{{ user.name }}</td>
                <td>{{ user.password }}</td>
            </tr>

        {% endfor %}

        </tbody>

    </table>
    <nav aria-label="Page navigation">
        <ul class="pagination">

{#            {% for num in total_page_num %}#}
{#                <li><a href="?page={{ num }}">{{ num }}</a></li>#}
{#            {% endfor %}#}

            {{ page_html|safe }}
        </ul>
    </nav>
{#    <form action="" method="get">#}
{#        <input type="text" name="page">#}
{#        <button>跳转</button>#}
{#    </form>#}



{% endblock %}